<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>src/vfs/smbfs/helpers/include/kanji.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/src.html'>src</a>/<a href='../files/src--vfs.html'>vfs</a>/<a href='../files/src--vfs--smbfs.html'>smbfs</a>/<a href='../files/src--vfs--smbfs--helpers.html'>helpers</a>/<a href='../files/src--vfs--smbfs--helpers--include.html'>include</a>/kanji.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/src.html'>src</a>/<a href='../files/src--vfs.html'>vfs</a>/<a href='../files/src--vfs--smbfs.html'>smbfs</a>/<a href='../files/src--vfs--smbfs--helpers.html'>helpers</a>/<a href='../files/src--vfs--smbfs--helpers--include.html'>include</a>/kanji.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 src/vfs/smbfs/helpers/include/kanji.h'  /> */</em>
<hr />
<h2 class='header'><a href='src--vfs--smbfs--helpers--include--includes.h.html#L438' title='Included from 438 in src/vfs/smbfs/helpers/include/includes.h.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/*</em>
<a id='L2' name='L2'></a>   2 <em class='comment'>   Unix SMB/Netbios implementation.</em>
<a id='L3' name='L3'></a>   3 <em class='comment'>   Version 1.9.</em>
<a id='L4' name='L4'></a>   4 <em class='comment'>   Kanji Extensions</em>
<a id='L5' name='L5'></a>   5 <em class='comment'> */</em>
<a id='L6' name='L6'></a>   6 <em class='sharp'>#ifndef</em> <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L7' title='Defined at 7 in src/vfs/smbfs/helpers/include/kanji.h.'>_KANJI_H_</a>
<a id='L7' name='L7'></a>   7 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L6' title='Referred from 6 in src/vfs/smbfs/helpers/include/kanji.h.'>_KANJI_H_</a>
<a id='L8' name='L8'></a>   8 
<a id='L9' name='L9'></a>   9 <em class='comment'>/* FOR SHIFT JIS CODE */</em>
<a id='L10' name='L10'></a>  10 <em class='sharp'>#define</em> <a href='../R/is_shift_jis.html' title='Multiple referred from 22 places.'>is_shift_jis</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) \
<a id='L11' name='L11'></a>  11     ((0x81 &lt;= ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &lt;= 0x9f) \
<a id='L12' name='L12'></a>  12      || (0xe0 &lt;= ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &lt;= 0xef))
<a id='L13' name='L13'></a>  13 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L1091' title='Referred from 1091 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_shift_jis2</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) \
<a id='L14' name='L14'></a>  14     (0x40 &lt;= ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &lt;= 0xfc \
<a id='L15' name='L15'></a>  15     &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) != 0x7f)
<a id='L16' name='L16'></a>  16 <em class='sharp'>#define</em> <a href='../R/is_kana.html' title='Multiple referred from 10 places.'>is_kana</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((0xa0 &lt;= ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &lt;= 0xdf))
<a id='L17' name='L17'></a>  17 
<a id='L18' name='L18'></a>  18 <em class='comment'>/* case conversion */</em>
<a id='L19' name='L19'></a>  19 <em class='sharp'>#define</em> <a href='../R/is_sj_upper2.html' title='Multiple referred from 2 places.'>is_sj_upper2</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) \
<a id='L20' name='L20'></a>  20   ((0x60 &lt;= (<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) &lt;= 0x79))
<a id='L21' name='L21'></a>  21 <em class='sharp'>#define</em> <a href='../R/is_sj_lower2.html' title='Multiple referred from 2 places.'>is_sj_lower2</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) \
<a id='L22' name='L22'></a>  22   ((0x81 &lt;= (<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) &lt;= 0x9A))
<a id='L23' name='L23'></a>  23 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L24' title='Referred from 24 in src/vfs/smbfs/helpers/include/kanji.h.'>sjis_alph</a> 0x82
<a id='L24' name='L24'></a>  24 <em class='sharp'>#define</em> <a href='../R/is_sj_alph.html' title='Multiple referred from 4 places.'>is_sj_alph</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (<a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L23' title='Defined at 23 in src/vfs/smbfs/helpers/include/kanji.h.'>sjis_alph</a> == (<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>))
<a id='L25' name='L25'></a>  25 <em class='sharp'>#define</em> <a href='../R/is_sj_upper.html' title='Multiple referred from 2 places.'>is_sj_upper</a>(<a href='../Y/c1.html' title='Multiple used in 94 places.'>c1</a>, <a href='../Y/c2.html' title='Multiple used in 88 places.'>c2</a>) (<a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L24' title='Defined at 24 in src/vfs/smbfs/helpers/include/kanji.h.'>is_sj_alph</a> (<a href='../Y/c1.html' title='Multiple used in 94 places.'>c1</a>) &amp;&amp; <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L19' title='Defined at 19 in src/vfs/smbfs/helpers/include/kanji.h.'>is_sj_upper2</a> (<a href='../Y/c2.html' title='Multiple used in 88 places.'>c2</a>))
<a id='L26' name='L26'></a>  26 <em class='sharp'>#define</em> <a href='../R/is_sj_lower.html' title='Multiple referred from 2 places.'>is_sj_lower</a>(<a href='../Y/c1.html' title='Multiple used in 94 places.'>c1</a>, <a href='../Y/c2.html' title='Multiple used in 88 places.'>c2</a>) (<a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L24' title='Defined at 24 in src/vfs/smbfs/helpers/include/kanji.h.'>is_sj_alph</a> (<a href='../Y/c1.html' title='Multiple used in 94 places.'>c1</a>) &amp;&amp; <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L21' title='Defined at 21 in src/vfs/smbfs/helpers/include/kanji.h.'>is_sj_lower2</a> (<a href='../Y/c2.html' title='Multiple used in 88 places.'>c2</a>))
<a id='L27' name='L27'></a>  27 <em class='sharp'>#define</em> <a href='../R/sj_toupper2.html' title='Multiple referred from 3 places.'>sj_toupper2</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) \
<a id='L28' name='L28'></a>  28     (<a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L21' title='Defined at 21 in src/vfs/smbfs/helpers/include/kanji.h.'>is_sj_lower2</a> (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ? ((<strong class='reserved'>int</strong>) ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) - 0x81 + 0x60)) : \
<a id='L29' name='L29'></a>  29      ((<strong class='reserved'>int</strong>) (<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)))
<a id='L30' name='L30'></a>  30 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--util_str.c.html#L368' title='Referred from 368 in src/vfs/smbfs/helpers/lib/util_str.c.'>sj_tolower2</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) \
<a id='L31' name='L31'></a>  31     (<a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L19' title='Defined at 19 in src/vfs/smbfs/helpers/include/kanji.h.'>is_sj_upper2</a> (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ? ((<strong class='reserved'>int</strong>) ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) - 0x60 + 0x81)) : \
<a id='L32' name='L32'></a>  32      ((<strong class='reserved'>int</strong>) (<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)))
<a id='L33' name='L33'></a>  33 
<a id='L34' name='L34'></a>  34 <em class='sharp'>#ifdef</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L32' title='Defined at 32 in src/vfs/smbfs/helpers/lib/kanji.c.'>_KANJI_C_</a>
<a id='L35' name='L35'></a>  35 <em class='comment'>/* FOR EUC CODE */</em>
<a id='L36' name='L36'></a>  36 <em class='sharp'>#define</em> <a href='../R/euc_kana.html' title='Multiple referred from 2 places.'>euc_kana</a> (0x8e)
<a id='L37' name='L37'></a>  37 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L540' title='Referred from 540 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_euc_kana</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L36' title='Defined at 36 in src/vfs/smbfs/helpers/include/kanji.h.'>euc_kana</a>)
<a id='L38' name='L38'></a>  38 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L533' title='Referred from 533 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_euc</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)  (0xa0 &lt; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &lt; 0xff)
<a id='L39' name='L39'></a>  39 
<a id='L40' name='L40'></a>  40 <em class='comment'>/* FOR JIS CODE */</em>
<a id='L41' name='L41'></a>  41 <em class='comment'>/* default jis third shift code, use for output */</em>
<a id='L42' name='L42'></a>  42 <em class='sharp'>#ifndef</em> <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L43' title='Defined at 43 in src/vfs/smbfs/helpers/include/kanji.h.'>JIS_KSO</a>
<a id='L43' name='L43'></a>  43 <em class='sharp'>#define</em> <a href='../R/JIS_KSO.html' title='Multiple referred from 2 places.'>JIS_KSO</a> 'B'
<a id='L44' name='L44'></a>  44 <em class='sharp'>#endif</em>
<a id='L45' name='L45'></a>  45 <em class='sharp'>#ifndef</em> <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L46' title='Defined at 46 in src/vfs/smbfs/helpers/include/kanji.h.'>JIS_KSI</a>
<a id='L46' name='L46'></a>  46 <em class='sharp'>#define</em> <a href='../R/JIS_KSI.html' title='Multiple referred from 2 places.'>JIS_KSI</a> 'J'
<a id='L47' name='L47'></a>  47 <em class='sharp'>#endif</em>
<a id='L48' name='L48'></a>  48 <em class='comment'>/* in: \E$B or \E$@ */</em>
<a id='L49' name='L49'></a>  49 <em class='comment'>/* out: \E(J or \E(B or \E(H */</em>
<a id='L50' name='L50'></a>  50 <em class='sharp'>#define</em> <a href='../R/jis_esc.html' title='Multiple referred from 12 places.'>jis_esc</a> (0x1b)
<a id='L51' name='L51'></a>  51 <em class='sharp'>#define</em> <a href='../R/jis_so.html' title='Multiple referred from 2 places.'>jis_so</a> (0x0e)
<a id='L52' name='L52'></a>  52 <em class='sharp'>#define</em> <a href='../R/jis_so1.html' title='Multiple referred from 4 places.'>jis_so1</a> ('$')
<a id='L53' name='L53'></a>  53 <em class='sharp'>#define</em> <a href='../R/jis_so2.html' title='Multiple referred from 2 places.'>jis_so2</a> ('B')
<a id='L54' name='L54'></a>  54 <em class='sharp'>#define</em> <a href='../R/jis_si.html' title='Multiple referred from 4 places.'>jis_si</a> (0x0f)
<a id='L55' name='L55'></a>  55 <em class='sharp'>#define</em> <a href='../R/jis_si1.html' title='Multiple referred from 8 places.'>jis_si1</a> ('(')
<a id='L56' name='L56'></a>  56 <em class='sharp'>#define</em> <a href='../R/jis_si2.html' title='Multiple referred from 3 places.'>jis_si2</a> ('J')
<a id='L57' name='L57'></a>  57 <em class='sharp'>#define</em> <a href='../R/is_esc.html' title='Multiple referred from 3 places.'>is_esc</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L50' title='Defined at 50 in src/vfs/smbfs/helpers/include/kanji.h.'>jis_esc</a>)
<a id='L58' name='L58'></a>  58 <em class='sharp'>#define</em> <a href='../R/is_so1.html' title='Multiple referred from 3 places.'>is_so1</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L52' title='Defined at 52 in src/vfs/smbfs/helpers/include/kanji.h.'>jis_so1</a>)
<a id='L59' name='L59'></a>  59 <em class='sharp'>#define</em> <a href='../R/is_so2.html' title='Multiple referred from 3 places.'>is_so2</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L53' title='Defined at 53 in src/vfs/smbfs/helpers/include/kanji.h.'>jis_so2</a> || ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == '@')
<a id='L60' name='L60'></a>  60 <em class='sharp'>#define</em> <a href='../R/is_si1.html' title='Multiple referred from 3 places.'>is_si1</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L55' title='Defined at 55 in src/vfs/smbfs/helpers/include/kanji.h.'>jis_si1</a>)
<a id='L61' name='L61'></a>  61 <em class='sharp'>#define</em> <a href='../R/is_si2.html' title='Multiple referred from 3 places.'>is_si2</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L56' title='Defined at 56 in src/vfs/smbfs/helpers/include/kanji.h.'>jis_si2</a> || ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == 'B' \
<a id='L62' name='L62'></a>  62     || ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == 'H')
<a id='L63' name='L63'></a>  63 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L749' title='Referred from 749 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_so</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L51' title='Defined at 51 in src/vfs/smbfs/helpers/include/kanji.h.'>jis_so</a>)
<a id='L64' name='L64'></a>  64 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L754' title='Referred from 754 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_si</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L54' title='Defined at 54 in src/vfs/smbfs/helpers/include/kanji.h.'>jis_si</a>)
<a id='L65' name='L65'></a>  65 <em class='sharp'>#define</em> <a href='../R/junet_kana1.html' title='Multiple referred from 2 places.'>junet_kana1</a> ('(')
<a id='L66' name='L66'></a>  66 <em class='sharp'>#define</em> <a href='../R/junet_kana2.html' title='Multiple referred from 2 places.'>junet_kana2</a> ('I')
<a id='L67' name='L67'></a>  67 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L911' title='Referred from 911 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_juk1</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L65' title='Defined at 65 in src/vfs/smbfs/helpers/include/kanji.h.'>junet_kana1</a>)
<a id='L68' name='L68'></a>  68 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L911' title='Referred from 911 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_juk2</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) == <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L66' title='Defined at 66 in src/vfs/smbfs/helpers/include/kanji.h.'>junet_kana2</a>)
<a id='L69' name='L69'></a>  69 
<a id='L70' name='L70'></a>  70 <em class='sharp'>#define</em> <a href='../R/_KJ_ROMAN.html' title='Multiple referred from 23 places.'>_KJ_ROMAN</a> (0)
<a id='L71' name='L71'></a>  71 <em class='sharp'>#define</em> <a href='../R/_KJ_KANJI.html' title='Multiple referred from 17 places.'>_KJ_KANJI</a> (1)
<a id='L72' name='L72'></a>  72 <em class='sharp'>#define</em> <a href='../R/_KJ_KANA.html' title='Multiple referred from 12 places.'>_KJ_KANA</a> (2)
<a id='L73' name='L73'></a>  73 
<a id='L74' name='L74'></a>  74 <em class='comment'>/* FOR HEX */</em>
<a id='L75' name='L75'></a>  75 <em class='sharp'>#define</em> <a href='../R/HEXTAG.html' title='Multiple referred from 4 places.'>HEXTAG</a> ':'
<a id='L76' name='L76'></a>  76 <em class='sharp'>#define</em> <a href='../R/hex2bin.html' title='Multiple referred from 2 places.'>hex2bin</a>(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)                                                    \
<a id='L77' name='L77'></a>  77     ( ((<strong class='reserved'>int</strong>) '0' &lt;= ((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)) &amp;&amp; ((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)) &lt;= (<strong class='reserved'>int</strong>)'9')?          \
<a id='L78' name='L78'></a>  78         (((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>))-(<strong class='reserved'>int</strong>)'0'):                                       \
<a id='L79' name='L79'></a>  79       ((<strong class='reserved'>int</strong>) 'a'&lt;= ((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)) &amp;&amp; ((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>))&lt;= (<strong class='reserved'>int</strong>) 'f')?           \
<a id='L80' name='L80'></a>  80         (((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)) - (<strong class='reserved'>int</strong>)'a'+10):                                  \
<a id='L81' name='L81'></a>  81       (((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)) - (<strong class='reserved'>int</strong>)'A'+10) )
<a id='L82' name='L82'></a>  82 <em class='sharp'>#define</em> <a href='../R/bin2hex.html' title='Multiple referred from 8 places.'>bin2hex</a>(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)                                                    \
<a id='L83' name='L83'></a>  83     ( (((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)) &gt;= 10)? (((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>))-10 + (<strong class='reserved'>int</strong>) 'a'): (((<strong class='reserved'>int</strong>) (<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)) + (<strong class='reserved'>int</strong>) '0') )
<a id='L84' name='L84'></a>  84 
<a id='L85' name='L85'></a>  85 <em class='comment'>/* For Hangul (Korean - code page 949). */</em>
<a id='L86' name='L86'></a>  86 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L275' title='Referred from 275 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_hangul</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((0x81 &lt;= ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &lt;= 0xfd))
<a id='L87' name='L87'></a>  87 
<a id='L88' name='L88'></a>  88 <em class='comment'>/* For traditional Chinese (known as Big5 encoding - code page 950). */</em>
<a id='L89' name='L89'></a>  89 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L285' title='Referred from 285 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_big5_c1</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((0xa1 &lt;= ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &lt;= 0xf9))
<a id='L90' name='L90'></a>  90 
<a id='L91' name='L91'></a>  91 <em class='comment'>/* For simplified Chinese (code page - 936). */</em>
<a id='L92' name='L92'></a>  92 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L295' title='Referred from 295 in src/vfs/smbfs/helpers/lib/kanji.c.'>is_simpch_c1</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((0xa1 &lt;= ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &amp;&amp; ((<strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong>) (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)) &lt;= 0xf7))
<a id='L93' name='L93'></a>  93 
<a id='L94' name='L94'></a>  94 <em class='sharp'>#else</em> <em class='comment'>/* not _KANJI_C_ */</em>
<a id='L95' name='L95'></a>  95 
<a id='L96' name='L96'></a>  96 <em class='comment'>/*</em>
<a id='L97' name='L97'></a>  97 <em class='comment'> * The following is needed for AIX systems that have</em>
<a id='L98' name='L98'></a>  98 <em class='comment'> * their own #defines for strchr, strrchr, strstr</em>
<a id='L99' name='L99'></a>  99 <em class='comment'> * and strtok.</em>
<a id='L100' name='L100'></a> 100 <em class='comment'> */</em>
<a id='L101' name='L101'></a> 101 
<a id='L102' name='L102'></a> 102 <em class='sharp'>#ifdef</em> <a href='../D/strchr.html' title='Multiple defined in 2 places.'>strchr</a>
<a id='L103' name='L103'></a> 103 <em class='sharp'>#undef</em> <a href='../R/strchr.html' title='Multiple referred from 178 places.'>strchr</a>
<a id='L104' name='L104'></a> 104 <em class='sharp'>#endif</em> <em class='comment'>/* strchr */</em>
<a id='L105' name='L105'></a> 105 
<a id='L106' name='L106'></a> 106 <em class='sharp'>#ifdef</em> <a href='../D/strrchr.html' title='Multiple defined in 2 places.'>strrchr</a>
<a id='L107' name='L107'></a> 107 <em class='sharp'>#undef</em> <a href='../R/strrchr.html' title='Multiple referred from 46 places.'>strrchr</a>
<a id='L108' name='L108'></a> 108 <em class='sharp'>#endif</em> <em class='comment'>/* strrchr */</em>
<a id='L109' name='L109'></a> 109 
<a id='L110' name='L110'></a> 110 <em class='sharp'>#ifdef</em> <a href='../D/strstr.html' title='Multiple defined in 2 places.'>strstr</a>
<a id='L111' name='L111'></a> 111 <em class='sharp'>#undef</em> <a href='../R/strstr.html' title='Multiple referred from 41 places.'>strstr</a>
<a id='L112' name='L112'></a> 112 <em class='sharp'>#endif</em> <em class='comment'>/* strstr */</em>
<a id='L113' name='L113'></a> 113 
<a id='L114' name='L114'></a> 114 <em class='sharp'>#ifdef</em> <a href='../D/strtok.html' title='Multiple defined in 2 places.'>strtok</a>
<a id='L115' name='L115'></a> 115 <em class='sharp'>#undef</em> <a href='../R/strtok.html' title='Multiple referred from 9 places.'>strtok</a>
<a id='L116' name='L116'></a> 116 <em class='sharp'>#endif</em> <em class='comment'>/* strtok */</em>
<a id='L117' name='L117'></a> 117 
<a id='L118' name='L118'></a> 118 <em class='comment'>/* Ensure we use our definitions in all other files than kanji.c. */</em>
<a id='L119' name='L119'></a> 119 
<a id='L120' name='L120'></a> 120 <em class='comment'>/* Function pointers we will replace. */</em>
<a id='L121' name='L121'></a> 121 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *(*<a href='../Y/multibyte_strchr.html' title='Multiple used in 8 places.'>multibyte_strchr</a>) (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s.html' title='Multiple used in 1155 places.'>s</a>, <strong class='reserved'>int</strong> <a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>);
<a id='L122' name='L122'></a> 122 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *(*<a href='../Y/multibyte_strrchr.html' title='Multiple used in 8 places.'>multibyte_strrchr</a>) (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s.html' title='Multiple used in 1155 places.'>s</a>, <strong class='reserved'>int</strong> <a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>);
<a id='L123' name='L123'></a> 123 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *(*<a href='../Y/multibyte_strstr.html' title='Multiple used in 8 places.'>multibyte_strstr</a>) (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s2.html' title='Multiple used in 97 places.'>s2</a>);
<a id='L124' name='L124'></a> 124 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *(*<a href='../Y/multibyte_strtok.html' title='Multiple used in 8 places.'>multibyte_strtok</a>) (<strong class='reserved'>char</strong> *<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/s2.html' title='Multiple used in 97 places.'>s2</a>);
<a id='L125' name='L125'></a> 125 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *(*<a href='../Y/_dos_to_unix.html' title='Multiple used in 12 places.'>_dos_to_unix</a>) (<strong class='reserved'>char</strong> *<a href='../Y/str.html' title='Multiple used in 587 places.'>str</a>, <a href='../S/src--vfs--smbfs--helpers--include--smb.h.html#L28' title='Defined at 28 in src/vfs/smbfs/helpers/include/smb.h.'>BOOL</a> <a href='../Y/overwrite.html' title='Multiple used in 41 places.'>overwrite</a>);
<a id='L126' name='L126'></a> 126 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *(*<a href='../Y/_unix_to_dos.html' title='Multiple used in 12 places.'>_unix_to_dos</a>) (<strong class='reserved'>char</strong> *<a href='../Y/str.html' title='Multiple used in 587 places.'>str</a>, <a href='../S/src--vfs--smbfs--helpers--include--smb.h.html#L28' title='Defined at 28 in src/vfs/smbfs/helpers/include/smb.h.'>BOOL</a> <a href='../Y/overwrite.html' title='Multiple used in 41 places.'>overwrite</a>);
<a id='L127' name='L127'></a> 127 <strong class='reserved'>extern</strong> <a href='../S/src--vfs--smbfs--helpers--include--smb.h.html#L28' title='Defined at 28 in src/vfs/smbfs/helpers/include/smb.h.'>BOOL</a> (*is_multibyte_char) (<strong class='reserved'>char</strong> <a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>);
<a id='L128' name='L128'></a> 128 <strong class='reserved'>extern</strong> <strong class='reserved'>int</strong> (*<a href='../Y/_skip_multibyte_char.html' title='Multiple used in 9 places.'>_skip_multibyte_char</a>) (<strong class='reserved'>char</strong> <a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>);
<a id='L129' name='L129'></a> 129 
<a id='L130' name='L130'></a> 130 <em class='sharp'>#define</em> <a href='../R/strchr.html' title='Multiple referred from 178 places.'>strchr</a>(<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>, <a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((*<a href='../Y/multibyte_strchr.html' title='Multiple used in 8 places.'>multibyte_strchr</a>)((<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>), (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)))
<a id='L131' name='L131'></a> 131 <em class='sharp'>#define</em> <a href='../R/strrchr.html' title='Multiple referred from 46 places.'>strrchr</a>(<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>, <a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((*<a href='../Y/multibyte_strrchr.html' title='Multiple used in 8 places.'>multibyte_strrchr</a>)((<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>), (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)))
<a id='L132' name='L132'></a> 132 <em class='sharp'>#define</em> <a href='../R/strstr.html' title='Multiple referred from 41 places.'>strstr</a>(<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>, <a href='../Y/s2.html' title='Multiple used in 97 places.'>s2</a>) ((*<a href='../Y/multibyte_strstr.html' title='Multiple used in 8 places.'>multibyte_strstr</a>)((<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>), (<a href='../Y/s2.html' title='Multiple used in 97 places.'>s2</a>)))
<a id='L133' name='L133'></a> 133 <em class='sharp'>#define</em> <a href='../R/strtok.html' title='Multiple referred from 9 places.'>strtok</a>(<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>, <a href='../Y/s2.html' title='Multiple used in 97 places.'>s2</a>) ((*<a href='../Y/multibyte_strtok.html' title='Multiple used in 8 places.'>multibyte_strtok</a>)((<a href='../Y/s1.html' title='Multiple used in 138 places.'>s1</a>), (<a href='../Y/s2.html' title='Multiple used in 97 places.'>s2</a>)))
<a id='L134' name='L134'></a> 134 <em class='sharp'>#define</em> <a href='../R/dos_to_unix.html' title='Multiple referred from 3 places.'>dos_to_unix</a>(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>,<a href='../Y/y.html' title='Multiple used in 658 places.'>y</a>) ((*<a href='../Y/_dos_to_unix.html' title='Multiple used in 12 places.'>_dos_to_unix</a>)((<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>), (<a href='../Y/y.html' title='Multiple used in 658 places.'>y</a>)))
<a id='L135' name='L135'></a> 135 <em class='sharp'>#define</em> <a href='../R/unix_to_dos.html' title='Multiple referred from 6 places.'>unix_to_dos</a>(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>,<a href='../Y/y.html' title='Multiple used in 658 places.'>y</a>) ((*<a href='../Y/_unix_to_dos.html' title='Multiple used in 12 places.'>_unix_to_dos</a>)((<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>), (<a href='../Y/y.html' title='Multiple used in 658 places.'>y</a>)))
<a id='L136' name='L136'></a> 136 <em class='sharp'>#define</em> <a href='../R/skip_multibyte_char.html' title='Multiple referred from 8 places.'>skip_multibyte_char</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((*<a href='../Y/_skip_multibyte_char.html' title='Multiple used in 9 places.'>_skip_multibyte_char</a>)((<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)))
<a id='L137' name='L137'></a> 137 
<a id='L138' name='L138'></a> 138 <em class='sharp'>#endif</em> <em class='comment'>/* _KANJI_C_ */</em>
<a id='L139' name='L139'></a> 139 
<a id='L140' name='L140'></a> 140 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--lib--kanji.c.html#L1268' title='Referred from 1268 in src/vfs/smbfs/helpers/lib/kanji.c.'>UNKNOWN_CODE</a> (-1)
<a id='L141' name='L141'></a> 141 <em class='sharp'>#define</em> <a href='../R/SJIS_CODE.html' title='Multiple referred from 3 places.'>SJIS_CODE</a> (0)
<a id='L142' name='L142'></a> 142 <em class='sharp'>#define</em> <a href='../R/EUC_CODE.html' title='Multiple referred from 2 places.'>EUC_CODE</a> (1)
<a id='L143' name='L143'></a> 143 <em class='sharp'>#define</em> <a href='../R/JIS7_CODE.html' title='Multiple referred from 7 places.'>JIS7_CODE</a> (2)
<a id='L144' name='L144'></a> 144 <em class='sharp'>#define</em> <a href='../R/JIS8_CODE.html' title='Multiple referred from 7 places.'>JIS8_CODE</a> (3)
<a id='L145' name='L145'></a> 145 <em class='sharp'>#define</em> <a href='../R/JUNET_CODE.html' title='Multiple referred from 7 places.'>JUNET_CODE</a> (4)
<a id='L146' name='L146'></a> 146 <em class='sharp'>#define</em> <a href='../R/HEX_CODE.html' title='Multiple referred from 3 places.'>HEX_CODE</a> (5)
<a id='L147' name='L147'></a> 147 <em class='sharp'>#define</em> <a href='../R/CAP_CODE.html' title='Multiple referred from 2 places.'>CAP_CODE</a> (6)
<a id='L148' name='L148'></a> 148 <em class='sharp'>#define</em> DOSV_CODE <a href='../S/src--vfs--smbfs--helpers--include--kanji.h.html#L141' title='Defined at 141 in src/vfs/smbfs/helpers/include/kanji.h.'>SJIS_CODE</a>
<a id='L149' name='L149'></a> 149 
<a id='L150' name='L150'></a> 150 <em class='sharp'>#endif</em> <em class='comment'>/* _KANJI_H_ */</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+150 src/vfs/smbfs/helpers/include/kanji.h'  /> */</em>
</body>
</html>
